package maa.dao;

import maa.dao.DAOException;
import maa.entity.User;

import java.util.List;
import java.util.UUID;

public interface UserDAO {
    public boolean switchRoleToMentor(UUID uuid) throws DAOException;
    public boolean switchRoleToClient(UUID uuid) throws DAOException;
    public boolean delete(UUID uuid) throws DAOException;
    public List<User> findAll() throws DAOException;
    public User findByEmailAndPassword(String email, String password) throws DAOException;
    public User findById(UUID uuid) throws DAOException;
    public List<User> findUsersById(List<UUID> uuids) throws DAOException;
    public boolean create(User user) throws DAOException;
    public Boolean update(User user) throws DAOException;

}
